-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add proto annotation for Msg services #13178
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This needs a changelog and documentation. I'm not sure how this really plays into framework or if this is the right path.
I'll add a changelog entry. What alternative would you suggest? Not sure what other documentation is needed. This simply annotates services as |
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #13178 +/- ##
==========================================
+ Coverage 54.94% 55.01% +0.07%
==========================================
Files 648 653 +5
Lines 55366 55521 +155
==========================================
+ Hits 30419 30544 +125
- Misses 22501 22522 +21
- Partials 2446 2455 +9
|
…aronc/msg-service-proto
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Module developer docs, and maybe upgrading guide. Or else the app developers' Msg services won't get hooked with e.g. the auto-generated cli when they upgrade their sdk version. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Additive metadata so LGTM.
Okay to move forward with this @marbar3778 ? |
@marbar3778 it seems that github auto-merge won't work without an explicit approval from you. It says: Because you reviewed on behalf of cosmos/sdk-core-dev previously then seems like you automatically become the reviewer for that team even though @AmauryM and @kocubinski approved: Strange... |
Description
Similarly to #13174, this adds the
cosmos.msg.v1.service
annotation as specified in #12972 and #12239.This will allow tooling to distinguish between Msg and Query services via reflection which could allow:
grpc.ServiceRegistrar
grpc.ClientConnInterface
for ADR-033Author Checklist
All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.
I have...
!
to the type prefix if API or client breaking changeCHANGELOG.md
Reviewers Checklist
All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.
I have...
!
in the type prefix if API or client breaking change